﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace CoreGallery.Core.Framework
{
    public class Album : CoreObject
    {
        private AlbumCollection _subAlbums = new AlbumCollection();

        private string _name;
        private string _description;
        private string _location;

        public string Name
        {
            get { return _name; }
            set {
                _name = value;
                OnPropertyChanged("Name");
            }
        }

        public string Description
        {
            get { return _description; }
            set {
                _description = value;
                OnPropertyChanged("Description");
            }
        }

        public string Location
        {
            get { return _location; }
            set {
                _location = value;
                OnPropertyChanged("Location");
            }
        }
    } 
}
